home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / documents / X / xdocsSrc / Makefile < prev    next >
Encoding:
Makefile  |  1996-11-11  |  561 b   |  29 lines

  1. #!smake
  2.  
  3. # Makefile for clients to demonstrate Xsgi capabilities
  4.  
  5. include ${ROOT}/usr/include/make/commondefs
  6.  
  7. LCOPTS  = -O -xansi
  8. LLDLIBS = -lX11
  9. TARGETS    = crosshair layerdemo xlayerinfo tulip
  10. CFILES    = XLayerUtil.c crosshair.c layerdemo.c tulip.c xlayerinfo.c
  11.  
  12. default all: $(TARGETS)
  13.  
  14. include $(COMMONRULES)
  15.  
  16.  
  17. crosshair: $@.c
  18.     $(CCF) $@.c -o $@ $(LDFLAGS)
  19.  
  20. layerdemo: $@.c XLayerUtil.o
  21.     $(CCF) $@.c XLayerUtil.o -o $@ $(LDFLAGS) -lm
  22.  
  23. tulip : $@.c
  24.     $(CCF) -o $@ $@.c $(LDFLAGS) -lXext
  25.  
  26. xlayerinfo: $@.c XLayerUtil.o
  27.     $(CCF) $@.c XLayerUtil.o -o $@ $(LDFLAGS)
  28.  
  29.